package com.xiangxiao.rpan.storage.upload.direct.channel;

import com.xiangxiao.rpan.storage.core.TransferFileByDirectTool;
import org.springframework.stereotype.Component;

import java.io.File;

/**
 * @auther xiangxiao
 * @email 573768011@qq.com
 * @data 2023/8/24 15:57
 * 以FileChannel类实现的文件操作
 */
@Component(value = "rpanFileChannel")
public class RpanFileChannel implements TransferFileByDirectTool {
  @Override
  public Long copyFileToStorage(File srcFile, File desFile) {
    return null;
  }

  @Override
  public Long copyFileFromStorage(File srcFile, File desFile) {
    return null;
  }
}
